package com.bdcom.model;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;

public class BarrierType {
	
	//名称
	@Id
	private String barrierName;
	//衰减
	private int attenuation;
	//颜色
	@Field(value="Color")
	private String color;

	public String getBarrierName() {
		return barrierName;
	}

	public void setBarrierName(String barrierName) {
		this.barrierName = barrierName;
	}

	public int getAttenuation() {
		return attenuation;
	}

	public void setAttenuation(int attenuation) {
		this.attenuation = attenuation;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	@Override
	public String toString() {
		return barrierName+"/"+attenuation+"/"+color;
	}
	
}
